//@author A0105740R
package rightnow.logic;

import java.io.IOException;

/**
 * Interface for main logic.
 */
public interface Logic {
	/**
	 * This method initializes storage, and it makes sure that only one Storage 
	 * is initialized, and only one viewList related to Storage is initialized
	 * @throws 	IOException
	 */
	public abstract void initStorage() throws IOException;
	
	/**
	 * Executes a command inputed by user.
	 * @param commandString the user input command string
	 * @throws IOException
	 */
	public abstract void executeCommand(String commandString)
			throws IOException;
}